// ignore_for_file: prefer_const_constructors, prefer_const_literals_to_create_immutables
import 'dart:math';

import 'package:flutter/material.dart';
import 'package:junyeyishu/ui/home/QGNFTDetailPage.dart';

import 'package:junyeyishu/widgets/QGButton.dart';

import '/utils/utils.dart';
import 'QGMineNFTDetailPage.dart';

class QGMineReviewNFTDetail extends QGMineNFTDetailPage {
  QGMineReviewNFTDetail({super.key, required super.id});
  @override
  State<QGNFTDetailPage> createState() => _QGMineReviewNFTDetailState();
}

class _QGMineReviewNFTDetailState extends QGMineNFTDetailPageState {
  @override
  handleData(ret) {
    super.handleData(ret);
    data ??= {};
    data?["price"] = "888";
  }

  @override
  buildBottom() {
    return Container(
        width: kScreenWidth,
        color: Color(0xffffffff),
        padding:
            EdgeInsets.fromLTRB(10.rpx, 10.rpx, 10.rpx, max(kSafeBottom, 10)),
        child: Row(mainAxisAlignment: MainAxisAlignment.center, children: [
          Flexible(
              child: Container(
                  alignment: Alignment.center,
                  width: 210.rpx,
                  child: QGButton(title: "转赠5", onTap: onSend)))
        ]));
  }
}
